<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <title></title>
  <script src="jquery-1.7.2.min.js"></script>
  <script type="text/javascript">
    $(function () {
      var $li_1 = $("<li>香蕉</li>");
      var $li_2 = $("<li>雪梨</li>");

      var $parent = $("ul");
      $("ul").append($li_1);
      $("ul").append($li_2);
    });
  </script>
</head>

<body>
  <ul>

  </ul>
</body>

</html>